package com.woniuxy.pojo;

import java.io.Serializable;
import java.util.List;

public class Role implements Serializable {
    private Integer role_id;

    private String role_name;
    
    private List<Permission> permissions;

    private static final long serialVersionUID = 1L;

    public void setPermissions(List<Permission> permissions) {
		this.permissions = permissions;
	}
    public List<Permission> getPermissions() {
		return permissions;
	}
    public Integer getrole_id() {
        return role_id;
    }

    public void setrole_id(Integer role_id) {
        this.role_id = role_id;
    }

    public String getrole_name() {
        return role_name;
    }

    public void setrole_name(String role_name) {
        this.role_name = role_name == null ? null : role_name.trim();
    }
}